package com.guagua.blog.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
@Schema(description = "评论请求")
public class CommentDTO {
    
    @NotBlank(message = "评论内容不能为空")
    @Schema(description = "评论内容")
    private String content;
    
    @NotNull(message = "文章ID不能为空")
    @Schema(description = "文章ID")
    private Long articleId;
    
    @Schema(description = "父评论ID")
    private Long parentId;
    
    @Schema(description = "回复用户ID")
    private Long replyUserId;
} 